package vip.zhenzicheng.design_patterns.decorator;

/**
 * 炒面(具体的构件角色)
 *
 * @author zhenzicheng
 * @date 2022-05-26 09:55
 */
public class FriedNoodles extends FastFood {

  public FriedNoodles() {
    super(12, "炒面");
  }

  @Override
  public float cost() {
    return getPrice();
  }
}
